import request from "@/network/request";

// 商品列表
export function goodsList(data) {
  return request({
    url: "/saleh5/diagnosis/prescription/template/page",
    method: "post",
    data,
  });
}
// 点击立即结算
export function jumpToOrderPage(data) {
  return request({
    url: "/saleh5/mini/sale/saleOrder/jumpToOrderPage",
    method: "post",
    data,
  });
}
// 点击支付
export function createToPay(data) {
  return request({
    url: "/saleh5/mini/sale/saleOrder/createToPay",
    method: "post",
    data,
  });
}

// 普通餐列表
export function typeAndFoodList(data) {
  return request({
    url: "/saleh5/diagnosis/food/patientNutritionFood/typeAndFoodList",
    method: "post",
    data,
  });
}

// 普通餐下单
export function jumpToOrderPageFood(data) {
  return request({
    url: "/saleh5/mini/sale/saleOrder/jumpToOrderPageFood",
    method: "post",
    data,
  });
}

// 普通餐点击支付
export function createToPayFood(data) {
  return request({
    url: "/saleh5/mini/sale/saleOrder/createToPayFood",
    method: "post",
    data,
  });
}
